﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
           Compute compute = new Compute();
            //加法
           var res= compute.Add(2, 7.0);
            Console.WriteLine(res);
            //减法
            compute.Minus(2.0, 7.0);
            //乘法
            var Mul= compute.Multip(2.0, 7.0);
            Console.WriteLine(Mul);
            //除法
            compute.consult(2, 8.0);
        }   

    }
}
